home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / ProgramF / CRYSTAL / CRW9 / DEV / INCLUDE / CRDATES.H < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-20  |  1.2 KB  |  46 lines

  1. /*
  2. ** File:    CRDates.h
  3. **
  4. ** Author:  Ron Hayter
  5. ** Date:    93-06-22
  6. **
  7. ** Purpose: Declarations for functions to convert to and from Crystal
  8. **          Reports' date values.
  9. **
  10. ** Copyright (c) 1993-2002  Crystal Decisions, Inc.
  11. */
  12.  
  13. #if !defined (CRDATES_H)
  14. #define CRDATES_H
  15.  
  16. #include "crdll.h"
  17.  
  18. #if defined (__cplusplus)
  19. extern "C"
  20. {
  21. #endif
  22.  
  23. extern CRDate CRYearMonthDayToDate (CRInt16s year,
  24.                                     CRInt16u month,
  25.                                     CRInt16u day);
  26. extern void CRDateToYearMonthDay (CRDate date,
  27.                                   CRInt16s *year,
  28.                                   CRInt16u *month,
  29.                                   CRInt16u *day);
  30.  
  31. extern CRTime CRHourMinuteSecondToTime (CRInt16u hour,
  32.                                         CRInt16u minute,
  33.                                         CRInt16u second);
  34. extern void CRTimeToHourMinuteSecond (CRTime time,
  35.                                       CRInt16u *hour,
  36.                                       CRInt16u *minute,
  37.                                       CRInt16u *second);
  38.  
  39. #if defined (__cplusplus)
  40. }
  41. #endif
  42.  
  43. #endif /* CRDATES_H */
  44.  
  45.  
  46.